page {
  width: 100%;
  height: 100%;
  font-family: -apple-system;
  box-sizing: border-box;
}

page image {
  display: block;
}

view,
scroll-view,
cover-view {
  box-sizing: border-box;
}

button::after {
  border: none;
}

/*隐藏滚动条*/
::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
  color: transparent;
}

/* 公用样式 */
.flex-row-center {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.flex-row-start {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.flex-col-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/*单行溢出*/
.one-txt-cut {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/*多行溢出*/
.txt-cut {
  overflow: hidden;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
}
